package com.mjk.manager.api.mapper;

import com.mjk.common.core.jdbc.annotation.DataBaseId;
import com.mjk.manager.api.dto.ApiDto;
import com.mjk.manager.usercenter.sclogin.dto.LogDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ApiMapper {
	/**
	 * 执行select
     */
	List<Map<String,Object>> executeSelectSql(@Param("selectSql")String sql,@Param("dto") ApiDto dto);
	
	/**
	 *
     */
	void executeProcedure(Map map);
	/**
	 * 获取日志图标
     */
	List<Map<String,Object>> getErrorChart(@Param("dto") LogDto model);

}
